# $Id: event_list.py 64 2009-03-17 15:29:02Z 4glitch $

from django.template import Library

register = Library()

# this is a base for custom filters injection 
def event_list_filter(cl, spec):
    return {'title': spec.title(), 'choices' : list(spec.choices(cl))}
event_list_filter = register.inclusion_tag('event_filter.html')(event_list_filter)
